<?php
/**
 * @author 段志岩
 * @date 2008.8.17
 * @summary 首页动作
 */

class IndexAction extends Action{
	public function __construct()
	{
		parent::__construct();
	}
	protected function init()
	{}
	public function display()
	{}
	public function doView()
	{
		if($this->session->getAttr('uid') != null)
		{
			$this->forward("Profile");
		}
		$this->smarty->display("index.tpl");
	}
};
?>
